import time as t
scale=50
set_time=int(input("set time: "))
print(f"Time Setting {set_time} s")
time_conter=set_time/scale
time_start=t.perf_counter()
start="START"
end="END"
print(f"{start:-^{scale+9}}")
for i in range(scale+1):
    star="#"*i
    dot=" "*(scale-i)
    print(f"\033[32;1m\r{i*(100/scale)}%[{star}{dot}]{t.perf_counter()-time_start:.2f}s", end="")
    t.sleep(time_conter)

print(f"\033[0m")
print(f"{end:-^{scale+9}}")